<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
<html>
	<head>
		<title>查询结果</title>
		<%@ include file="/pages/safeai/jsp/common/meta.jsp"%>
		<script type="text/javascript" src="${ctx}/script/common/common.js"></script>
		<script type="text/javascript" src="${ctx}/script/order.js"></script>
		<link href="${ctx}/css/safeai/together.css" rel="stylesheet" type="text/css">
		<style>
			<!--
			body{
				margin:0px;
				padding:0px;
				font-family:"宋体", Basemic, "Arial Narrow";
				font-size:12px;
			}
			-->
		</style>
	</head>
	<body>
		<%@ include file="/pages/safeai/jsp/common/taglibs.jsp"%>
		<form action="${ctx}/addBillManage.do?method=normalSelect"
			method="post">
			<input type="hidden" name="orderindex.paystatus"
				value="${para.paystatus}" />
			<input type="hidden" name="orderindex.status" value="${para.status}" />
			<input type="hidden" name="orderindex.deliverstatus"
				value="${para.deliverstatus}" />
			<table width="100%">
				<tr>
							<th nowrap class="td_01">
						<font size="2">选择</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">订单号</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">支付方式</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">配送方式</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">支配方式</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">订货人</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">城市</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">下单日期</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">货款金额</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">支付确认时间</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">发货时间</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">订单状态</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">支付状态</font>
					</th>
					<th nowrap class="td_01">
						<font size="2">配送状态</font>
					</th>
					<th nowrap class="td_01"><font size="2">
						订单日志
					</font></th>
					<th nowrap class="td_01"><font size="2">
						财务部处理
					</font></th>
					<th nowrap class="td_01"><font size="2">
						编辑订单
					</font></th>
				</tr>
				<logic:present name="DemoRange">
					<logic:iterate id="waitlist" name="DemoRange" property="records">
						<tr>
							<td nowrap class="td_03"><font size="2">
								<input type="checkbox" name="checkbox" /></font>
							</td>
							<td nowrap class="td_03">
								<a
									href="${ctx}/addBillManage.do?method=billdetial&id=${waitlist.id}" target="mainFrame">${waitlist.id}</a>
							</td>
							<td nowrap class="td_03">
								<font size="2"> <logic:equal value="1" name="waitlist"
										property="paymenttype">支付宝</logic:equal> <logic:equal
										value="2" name="waitlist" property="paymenttype">快钱</logic:equal>
									<logic:equal value="3" name="waitlist" property="paymenttype">信用卡网上支付</logic:equal>
									<logic:equal value="4" name="waitlist" property="paymenttype">上门自提</logic:equal>
									<logic:equal value="5" name="waitlist" property="paymenttype">货到付款</logic:equal>
									<logic:equal value="6" name="waitlist" property="paymenttype">银行转账/汇款</logic:equal>
									<logic:equal value="7" name="waitlist" property="paymenttype">货到POS机刷卡</logic:equal>
								</font>
							</td>
							<td nowrap class="td_03">
								<font size="2"> <logic:equal value="1" name="waitlist"
										property="delivertype">联邦快递（次日达）</logic:equal> <logic:equal
										value="2" name="waitlist" property="delivertype">顺丰速运（次晨达）</logic:equal>
									<logic:equal value="3" name="waitlist" property="delivertype">顺丰速运（次日达）</logic:equal>
									<logic:equal value="4" name="waitlist" property="delivertype">顺丰速运（3日内）</logic:equal>
									<logic:equal value="5" name="waitlist" property="delivertype">EMS</logic:equal>
									<logic:equal value="6" name="waitlist" property="delivertype">圆通快递</logic:equal>
									<logic:equal value="7" name="waitlist" property="delivertype">圆通快递（次日达）</logic:equal>
									<logic:equal value="8" name="waitlist" property="delivertype">圆通快递（次晨达)</logic:equal>
									<logic:equal value="9" name="waitlist" property="delivertype">上门自提</logic:equal>
									<logic:equal value="10" name="waitlist" property="delivertype">货到付款（北京)</logic:equal>
								</font>
							</td>
							<td nowrap class="td_03">
								<font size="2"> <logic:equal value="2" name="waitlist"
										property="payanddeliver">先货后款</logic:equal> <logic:equal
										value="1" name="waitlist" property="payanddeliver">先款后货</logic:equal>
									<logic:equal value="3" name="waitlist" property="payanddeliver">自提</logic:equal>
								</font>
							</td>
							<td nowrap class="td_03">
								<font size="2">${waitlist.customername}</font>
							</td>
							<td nowrap class="td_03">
								<font size="2">${waitlist.city}</font>
							</td>
							<td nowrap class="td_03">
								<font size="2"><fmt:parseDate var="date12" type="date"
										value="${waitlist.adddate}" pattern="yyyy-MM-dd" /> <fmt:formatDate
										value="${date12}" type="date" /> </font>
							</td>
							<td nowrap class="td_03">
								<font size="2">${waitlist.orderprice}</font>
							</td>
							<td nowrap class="td_03">
								<font size="2"><fmt:parseDate var="date12" type="date"
										value="${waitlist.paystatustime}" pattern="yyyy-MM-dd" /> <fmt:formatDate
										value="${date12}" type="date" /> </font>
							</td>
							<td nowrap class="td_03">
								<font size="2"><fmt:parseDate var="date12" type="date"
										value="${waitlist.sendtime}" pattern="yyyy-MM-dd" /> <fmt:formatDate
										value="${date12}" type="date" /> </font>
							</td>
							<td nowrap class="td_03">
								<font size="2">
								<logic:equal value="1" name="waitlist" property="status">待审核</logic:equal>
								<logic:equal value="2" name="waitlist" property="status">已审核</logic:equal>
								<logic:equal value="4" name="waitlist" property="status">客服取消</logic:equal>
								<logic:equal value="6" name="waitlist" property="status">已完成</logic:equal>
								<logic:equal value="7" name="waitlist" property="status">已自提</logic:equal>
								<logic:equal value="8" name="waitlist" property="status">可自提</logic:equal>
								<logic:equal value="9" name="waitlist" property="status">待自提</logic:equal>
								<logic:equal value="0" name="waitlist" property="status"></logic:equal>
								</font>
							</td>
							<td nowrap class="td_03">
								<font size="2">
								<logic:equal value="1" name="waitlist" property="paystatus">待支付</logic:equal>
								<logic:equal value="2" name="waitlist" property="paystatus">已支付</logic:equal>
								<logic:equal value="0" name="waitlist" property="paystatus"></logic:equal>
								</font>
							</td>
							<td nowrap class="td_03">
								<font size="2">
								<logic:equal value="1" name="waitlist" property="deliverstatus">正在配货</logic:equal>
								<logic:equal value="2" name="waitlist" property="deliverstatus">已配货</logic:equal>
								<logic:equal value="3" name="waitlist" property="deliverstatus">已发货</logic:equal>
								<logic:equal value="0" name="waitlist" property="deliverstatus"></logic:equal>
								</font>
							</td>
							<td nowrap class="td_03">
								<a
									href="javaScript:theBigPropper('addBillManage.do?method=selectLog&id=${waitlist.id}',500,500)">日志</a>
							</td>

							<td nowrap class="td_03">
								<a
									href="javaScript:theBigPropper('addBillManage.do?method=caiwuwait&id=${waitlist.id}',520,500)" target="mainFrame">处理</a>
							</td>
							<td nowrap class="td_03">
								<a href="${ctx}/addBillManage.do?method=edit&id=${waitlist.id}">编辑
								</a>
							</td>
						</tr>
					</logic:iterate>
				</logic:present>
				<tr>
					<td colspan="17" align="right">
						<font size="2"><%@ include file="/pages/safeai/jsp/common/page.jsp"%>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>